<?php


namespace App\Http\Requests\Admin\Archives;


use App\Http\Requests\BaseFormRequest;

class AdvertisementSaveFormRequest extends BaseFormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'image' => ['required']
        ];
    }

    public function messages()
    {
        return [
            'image.required'=>'请选择图片'
        ];
    }
}
